<table style="width: 100%;" cellpadding="2" cellspacing="2">
	<tr>
		<td class="border2">
			<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
					<td class="block_header">{language text="favorite_music"}</td>
				</tr>
			</table>
{if $aAlbums or $aSongs}
    {if count($aAlbums)}
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
               <td class="block_header">{language text="albums"}</td>
            </tr>
    {foreach from=$aAlbums item=aAlbum}
            <tr>
                <td class="border2">
                    <table cellspacing="0" cellpadding="2">
                        <tr>
                            <td style="font-size: 7pt; width: 30%; text-align: center;">
                            <a href="{url link='public.music.album' id=$aAlbum.album_id}">{img src="`$sAlbumsUrl``$aAlbum.album_id`.jpg" src_def='design/pic/noimage_120.jpg'  class="pic1" onmouseover="this.className='pic2';" onmouseout="this.className='pic1';"}</a><br />
                            <br/>
                            <a class="link_action" href="{url link='current' delete=$aAlbum.favorite_id}" onclick="return sure('');">[ {language text="delete_from_favorites"} ]</a>
                            </td>
                            <td class="color" style="font-size: 8pt; vertical-align: top; width: 70%;padding:4px;">
                            <b>{language text="musician"}:</b>&nbsp;<a class="link_description" href="{url link='public.music.musician' id=$aAlbum.musician_id}">{$aAlbum.musician_name}</a><br /><br />
                            <b>{language text="album"}:</b>&nbsp;<a class="link_description" href="{url link='public.music.album' id=$aAlbum.album_id}">{$aAlbum.album_title}</a><br /><br />
                            {if $aAlbum.album_year}<b>{language text="year"}:</b>&nbsp;{$aAlbum.album_year}{/if}
                            </td>
                        </tr>
                    </table>
                    <br/>
                </td>
            </tr>
    {/foreach}
            </table>
    {/if}
    {if count($aSongs)}
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
                <td class="block_header">{language text="songs"}</td>
            </tr>
    {foreach from=$aSongs item=aSong name=songs}
            <tr {if $smarty.foreach.songs.iteration % 2}class="border13"{/if}>
                <td width="65%" style="font-size:8pt;padding:5px;"><a class="link_description" href="{url link='public.music.musician' id=$aSong.musician_id}">{$aSong.musician_name}</a> - <a class="link_description" href="{url link='public.music.song' id=$aSong.song_id}">{$aSong.song_title}</a></td>
                <td width="30%"><a class="link_action" href="{url link='current' delete=$aSong.favorite_id}" onclick="return sure('');">[ {language text="delete_from_favorites"} ]</a></td>
                <td width="5%" align="right">{if !$aSong.song_is_actual && !$aSong.song_owner}<a href="{url link='current' makeactual=$aSong.song_id}"><img src="design/pic/donate.gif" height="16" width="16" alt="" /></a>&nbsp;&nbsp;{/if}</td>
            </tr>
    {/foreach}
            </table>
    {/if}
{else}
<div class="message_info">{language text="there_is_no_favorite_music_yet"}</div>
{/if}


		</td>
	</tr>
</table>